package com.gzhryc.shared_device.oem.micro.api.dto.xcx.v1.member;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;

public class MemberAddressInfoResponse extends SecurityResponse<MemberAddressInfoResponse.Body> {

	private static final long serialVersionUID = 1L;

	public MemberAddressInfoResponse() {
		this.body = new Body();
	}

	public MemberAddressInfoResponse(Integer code) {
		this.body = new Body();
		this.code = code;
	}

	public MemberAddressInfoResponse(Integer code, String msg) {
		this.body = new Body();
		this.code = code;
		this.msg = msg;
	}

	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;

		private Long id;
		private String receiveName;
		private String receivePhone;
		private String area;
		private String address;
		private Boolean isDefault;

		public Long getId() {
			return id;
		}
		public void setId(Long id) {
			this.id = id;
		}
		public String getReceiveName() {
			return receiveName;
		}
		public void setReceiveName(String receiveName) {
			this.receiveName = receiveName;
		}
		public String getReceivePhone() {
			return receivePhone;
		}
		public void setReceivePhone(String receivePhone) {
			this.receivePhone = receivePhone;
		}

		public String getArea() {
			return area;
		}

		public void setArea(String area) {
			this.area = area;
		}

		public String getAddress() {
			return address;
		}
		public void setAddress(String address) {
			this.address = address;
		}
		public Boolean getIsDefault() {
			return isDefault;
		}
		public void setIsDefault(Boolean isDefault) {
			this.isDefault = isDefault;
		}
		
	}
}
